package com.tjw.dao;


import com.github.pagehelper.Page;
import com.tjw.pojo.Member;

import java.util.List;

/**
 * @author tjw
 * @Date 2020/10/15
 */
public interface MemberDao {

    public void add(Member member);

    public Member findByTelephone(String telephone);

    public Integer findMemberCountBeforeDate(String endTime);

    public Integer findMemberCountByDate(String today);

    public Integer findMemberCountAfterDate(String date);

    public Integer findMemberTotalCount();

    public List<Member> findAll();

    public Page<Member> selectByCondition(String queryString);

    public void deleteById(Integer id);

    public Member findById(Integer id);

    public void edit(Member member);
}
